.class public Lcom/instagram/android/d/g/h;
.super Lcom/instagram/android/d/k/d;
.source "FlytrapRequest.java"


# instance fields
.field private final a:Landroid/content/Context;

.field private final b:Ljava/lang/String;

.field private final c:Ljava/lang/String;

.field private final d:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 36
    invoke-direct {p0}, Lcom/instagram/android/d/k/d;-><init>()V

    .line 37
    iput-object p1, p0, Lcom/instagram/android/d/g/h;->a:Landroid/content/Context;

    .line 38
    iput-object p2, p0, Lcom/instagram/android/d/g/h;->b:Ljava/lang/String;

    .line 39
    iput-object p3, p0, Lcom/instagram/android/d/g/h;->d:Ljava/lang/String;

    .line 40
    iput-object p4, p0, Lcom/instagram/android/d/g/h;->c:Ljava/lang/String;

    .line 41
    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/d/b/a;
    .locals 1

    .prologue
    .line 45
    sget-object v0, Lcom/instagram/android/d/b/a;->a:Lcom/instagram/android/d/b/a;

    return-object v0
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .prologue
    .line 50
    const-string v0, "https://api.facebook.com/method/bug.create"

    return-object v0
.end method

.method public c()Lcom/instagram/android/d/b/c;
    .locals 5

    .prologue
    .line 55
    new-instance v0, Lcom/instagram/android/d/b/c;

    invoke-direct {v0}, Lcom/instagram/android/d/b/c;-><init>()V

    .line 56
    const-string v1, "access_token"

    iget-object v2, p0, Lcom/instagram/android/d/g/h;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 57
    const-string v1, "format"

    const-string v2, "json-strings"

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 58
    const-string v1, "desc"

    iget-object v2, p0, Lcom/instagram/android/d/g/h;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 59
    const-string v1, "app"

    const-string v2, "Instagram for Android"

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 60
    const-string v1, "category_id"

    const-string v2, "493186350727442"

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 61
    const-string v1, "subscriber_ids"

    const-string v2, "[3304402, 26402746]"

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 62
    const-string v1, "locale"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v2

    invoke-static {v2}, Lcom/facebook/c/e/a;->a(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 65
    invoke-static {}, Lcom/instagram/i/a;->a()Lcom/instagram/i/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/i/b;->c()Ljava/lang/String;

    move-result-object v1

    .line 66
    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    aput-object v1, v2, v3

    const/4 v1, 0x1

    const-string v3, "340654432643170"

    aput-object v3, v2, v1

    const/4 v1, 0x2

    const-string v3, "120254861459529"

    aput-object v3, v2, v1

    .line 67
    invoke-static {v2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    .line 68
    const-string v2, "tag_ids"

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 70
    new-instance v1, Lcom/instagram/android/d/b/b;

    invoke-direct {v1}, Lcom/instagram/android/d/b/b;-><init>()V

    .line 71
    const-string v2, "IG_Username"

    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v3

    invoke-virtual {v3}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v3

    invoke-virtual {v3}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 72
    const-string v2, "Git_Hash"

    iget-object v3, p0, Lcom/instagram/android/d/g/h;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/instagram/i/a;->e(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 73
    const-string v2, "Build_Num"

    iget-object v3, p0, Lcom/instagram/android/d/g/h;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/instagram/i/a;->b(Landroid/content/Context;)I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;I)V

    .line 74
    const-string v2, "Branch"

    iget-object v3, p0, Lcom/instagram/android/d/g/h;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/instagram/i/a;->d(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 75
    const-string v2, "OS_Version"

    sget-object v3, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 76
    const-string v2, "Manufacturer"

    sget-object v3, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 77
    const-string v2, "Model"

    sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 78
    const-string v2, "Locale"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v3

    sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;

    invoke-virtual {v3, v4}, Ljava/util/Locale;->getDisplayName(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/d/b/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 79
    const-string v2, "info"

    invoke-virtual {v1}, Lcom/instagram/android/d/b/b;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 81
    iget-object v1, p0, Lcom/instagram/android/d/g/h;->c:Ljava/lang/String;

    invoke-static {v1}, Lcom/instagram/n/i;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 82
    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Lcom/instagram/android/d/g/h;->c:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 83
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 84
    const-string v2, "file"

    const-string v3, "bugreport.png"

    const-string v4, "image/png"

    invoke-virtual {v0, v2, v1, v3, v4}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V

    .line 87
    :cond_0
    return-object v0
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .prologue
    .line 91
    iget-object v0, p0, Lcom/instagram/android/d/g/h;->b:Ljava/lang/String;

    return-object v0
.end method

.method public e()Ljava/lang/String;
    .locals 1

    .prologue
    .line 99
    iget-object v0, p0, Lcom/instagram/android/d/g/h;->c:Ljava/lang/String;

    return-object v0
.end method
